package com.example.service.impl;


import com.example.entity.CommoditOrder;
import com.example.mapper.CommoditOrderMapper;
import com.example.service.ICommoditOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Service
public class CommoditOrderServiceImpl implements ICommoditOrderService {
    @Autowired
    CommoditOrderMapper mapper;

    @Override
    public List<CommoditOrder> findByTCode(Integer typeCode) {
        return mapper.selectByCode(typeCode);
    }

    @Override
    public CommoditOrder findall(Integer id) {
        return null;
    }

    @Override
    public List<Map> selectType(Integer store, Integer code) {
        return mapper.selectType(store,code);
    }
}
